package com.zhitxx.common.utils

import android.widget.ImageView
import androidx.annotation.DrawableRes
import androidx.appcompat.app.AppCompatActivity
import com.bumptech.glide.Glide

class ImageUtils {

    fun init() {
        var glide = Glide.get(AppUtils.getContexts()!!)

    }

    fun display(context: AppCompatActivity, imagePath: String, @DrawableRes id: Int, view: ImageView) {
        Glide.with(context).load(imagePath).into(view)
    }

}